<?php

use Illuminate\Database\Seeder;

class PermissionTable_Seeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('permissions')->insert([
        	[
        		'name' => 'user-list',
        		'display_name' => 'User List',
        		'description' => '用户列表',
        	],
        	[
        		'name' => 'user-create',
        		'display_name' => 'User Create',
        		'description' => '用户添加',
        	],
        	[
        		'name' => 'user-edit',
        		'display_name' => 'User Edit',
        		'description' => '用户编辑',
        	],
        	[
        		'name' => 'user-show',
        		'display_name' => 'User Show',
        		'description' => '用户展示',
        	],
        	[
        		'name' => 'user-delete',
        		'display_name' => 'User Delete',
        		'description' => '用户删除',
        	],
        	[
        		'name' => 'role-list',
        		'display_name' => 'Role List',
        		'description' => '角色列表',
        	],
        	[
        		'name' => 'role-create',
        		'display_name' => 'Role Create',
        		'description' => '角色添加',
        	],
        	[
        		'name' => 'role-edit',
        		'display_name' => 'Role Edit',
        		'description' => '角色编辑',
        	],
        	[
        		'name' => 'role-show',
        		'display_name' => 'Role Show',
        		'description' => '角色展示',
        	],
        	[
        		'name' => 'role-delete',
        		'display_name' => 'Role Delete',
        		'description' => '角色删除',
        	],
        	[
        		'name' => 'permission-list',
        		'display_name' => 'Permission List',
        		'description' => '权限列表',
        	],
        	[
        		'name' => 'permission-create',
        		'display_name' => 'Permission Create',
        		'description' => '权限添加',
        	],
        	[
        		'name' => 'permission-edit',
        		'display_name' => 'Permission Edit',
        		'description' => '权限编辑',
        	],
        	[
        		'name' => 'permission-show',
        		'display_name' => 'Permission Show',
        		'description' => '权限展示',
        	],
        	[
        		'name' => 'permission-delete',
        		'display_name' => 'Permission Delete',
        		'description' => '权限删除',
        	],
            [
                'name' => 'member-list',
                'display_name' => 'Member List',
                'description' => '会员列表',
            ],
            [
                'name' => 'member-create',
                'display_name' => 'Member Create',
                'description' => '会员添加',
            ],
            [
                'name' => 'member-edit',
                'display_name' => 'Member Edit',
                'description' => '会员编辑',
            ],
            [
                'name' => 'member-show',
                'display_name' => 'Member Show',
                'description' => '会员展示',
            ],
            [
                'name' => 'member-delete',
                'display_name' => 'Member Delete',
                'description' => '会员删除',
            ],
            [
                'name' => 'friendlink-list',
                'display_name' => 'FriendLink List',
                'description' => '友链列表',
            ],
            [
                'name' => 'friendlink-create',
                'display_name' => 'FriendLink Create',
                'description' => '友链添加',
            ],
            [
                'name' => 'friendlink-edit',
                'display_name' => 'FriendLink Edit',
                'description' => '友链编辑',
            ],
            [
                'name' => 'friendlink-show',
                'display_name' => 'FriendLink Show',
                'description' => '友链展示',
            ],
            [
                'name' => 'friendlink-delete',
                'display_name' => 'FriendLink Delete',
                'description' => '友链删除',
            ],
            [
                'name' => 'system-list',
                'display_name' => 'System List',
                'description' => '系统列表',
            ],
            [
                'name' => 'system-edit',
                'display_name' => 'System Edit',
                'description' => '系统修改',
            ],
        ]);
    }
}
